package com.mmt.luolai.ws;

public class MymytiServiceProxy implements com.mmt.luolai.ws.MymytiService {
  private String _endpoint = null;
  private com.mmt.luolai.ws.MymytiService mymytiService = null;
  
  public MymytiServiceProxy() {
    _initMymytiServiceProxy();
  }
  
  public MymytiServiceProxy(String endpoint) {
    _endpoint = endpoint;
    _initMymytiServiceProxy();
  }
  
  private void _initMymytiServiceProxy() {
    try {
      mymytiService = (new com.mmt.luolai.ws.MymytiServiceServiceLocator()).getMymytiServicePort();
      if (mymytiService != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)mymytiService)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)mymytiService)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (mymytiService != null)
      ((javax.xml.rpc.Stub)mymytiService)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public com.mmt.luolai.ws.MymytiService getMymytiService() {
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService;
  }
  
  public com.mmt.luolai.ws.TicketInCardResp queryTicket(com.mmt.luolai.ws.TicketInCardReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.queryTicket(arg0);
  }
  
  public com.mmt.luolai.ws.BlocQueryUserCardResp userLogin(com.mmt.luolai.ws.BlocQueryUserCardReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.userLogin(arg0);
  }
  
  public com.mmt.luolai.ws.ConsumerResp consproduct(com.mmt.luolai.ws.ConsumerReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.consproduct(arg0);
  }
  
  public com.mmt.luolai.ws.PreferentiaGoodsSetResp queryPreferentialPrice(com.mmt.luolai.ws.PreferentiaGoodsSetReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.queryPreferentialPrice(arg0);
  }
  
  public com.mmt.luolai.ws.BlocQueryCardtransResp queryTranInfo(com.mmt.luolai.ws.BlocQueryCardtransReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.queryTranInfo(arg0);
  }
  
  public com.mmt.luolai.ws.CardBalanceResp queryCard(com.mmt.luolai.ws.CardBalanceReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.queryCard(arg0);
  }
  
  public com.mmt.luolai.ws.ExchangeScoreResp exchangeScore(com.mmt.luolai.ws.ExchangeScoreReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.exchangeScore(arg0);
  }
  
  public com.mmt.luolai.ws.QueryUserResp queryUser(com.mmt.luolai.ws.QueryUserReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.queryUser(arg0);
  }
  
  public com.mmt.luolai.ws.ScoreAdjustResp deductScore(com.mmt.luolai.ws.ScoreAdjustReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.deductScore(arg0);
  }
  
  public com.mmt.luolai.ws.ChangeCardResp changeCard(com.mmt.luolai.ws.ChangeCardReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.changeCard(arg0);
  }
  
  public com.mmt.luolai.ws.QueryrebateResp queryrebate(com.mmt.luolai.ws.QueryrebateReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.queryrebate(arg0);
  }
  
  public com.mmt.luolai.ws.UpdCardpwdInfoResp updCardpwd(com.mmt.luolai.ws.UpdCardpwdInfoReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.updCardpwd(arg0);
  }
  
  public com.mmt.luolai.ws.BlocPotentialUserInfoResp addTmpUser(com.mmt.luolai.ws.BlocPotentialUserInfoReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.addTmpUser(arg0);
  }
  
  public com.mmt.luolai.ws.QueryBillDetailResp queryBillDetail(com.mmt.luolai.ws.QueryBillDetailReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.queryBillDetail(arg0);
  }
  
  public com.mmt.luolai.ws.RecordScoreInfoResp recordScore(com.mmt.luolai.ws.RecordScoreInfoReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.recordScore(arg0);
  }
  
  public com.mmt.luolai.ws.CancelExchangeResp cancelExchange(com.mmt.luolai.ws.CancelExchangeReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.cancelExchange(arg0);
  }
  
  public com.mmt.luolai.ws.CancelPaymentResp cancelPayment(com.mmt.luolai.ws.CancelPaymentReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.cancelPayment(arg0);
  }
  
  public com.mmt.luolai.ws.ValidateOprResp validateOpr(com.mmt.luolai.ws.ValidateOprReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.validateOpr(arg0);
  }
  
  public com.mmt.luolai.ws.BlocUserCardActivateResp userCardActivate(com.mmt.luolai.ws.BlocUserCardActivateReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.userCardActivate(arg0);
  }
  
  public com.mmt.luolai.ws.AddCardResp addCard(com.mmt.luolai.ws.AddCardReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.addCard(arg0);
  }
  
  public com.mmt.luolai.ws.ValidateCardResp validateCard(com.mmt.luolai.ws.ValidateCardReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.validateCard(arg0);
  }
  
  public com.mmt.luolai.ws.RechargeRuleInfoResp rechargeRuleApply(com.mmt.luolai.ws.RechargeRuleInfoReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.rechargeRuleApply(arg0);
  }
  
  public com.mmt.luolai.ws.BatchRechargeCardInfoResp batchRechargeCard(com.mmt.luolai.ws.BatchRechargeCardInfoReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.batchRechargeCard(arg0);
  }
  
  public com.mmt.luolai.ws.QueryRechargeReportResp queryRechargeReport(com.mmt.luolai.ws.QueryRechargeReportReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.queryRechargeReport(arg0);
  }
  
  public com.mmt.luolai.ws.CancelRechargeCardResp cancelRechargeCard(com.mmt.luolai.ws.CancelRechargeCardReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.cancelRechargeCard(arg0);
  }
  
  public com.mmt.luolai.ws.RechargeCardResp rechargeCard(com.mmt.luolai.ws.RechargeCardReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.rechargeCard(arg0);
  }
  
  public com.mmt.luolai.ws.BlocUpdUserResp updateUserCard(com.mmt.luolai.ws.BlocUpdUserReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.updateUserCard(arg0);
  }
  
  public com.mmt.luolai.ws.BatchIssueCardInfoResp batchIssueCard(com.mmt.luolai.ws.BatchIssueCardInfoReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.batchIssueCard(arg0);
  }
  
  public com.mmt.luolai.ws.BlocPwdRetrieveResp pwdRetrieve(com.mmt.luolai.ws.BlocPwdRetrieveReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.pwdRetrieve(arg0);
  }
  
  public com.mmt.luolai.ws.CouponDisResp grantTicket(com.mmt.luolai.ws.CouponDisReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.grantTicket(arg0);
  }
  
  public com.mmt.luolai.ws.QueryCardtransResp queryCardtrans(com.mmt.luolai.ws.QueryCardtransReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.queryCardtrans(arg0);
  }
  
  public com.mmt.luolai.ws.BlocCardActivateCheckResp cardActivateCheck(com.mmt.luolai.ws.BlocCardActivateCheckReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.cardActivateCheck(arg0);
  }
  
  public com.mmt.luolai.ws.CancelDeliversScoreInfoResp cancelDeliversScore(com.mmt.luolai.ws.CancelDeliversScoreInfoReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.cancelDeliversScore(arg0);
  }
  
  public com.mmt.luolai.ws.CustomPaymetReturnResp customPaymetReturn(com.mmt.luolai.ws.CustomPaymetReturnReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.customPaymetReturn(arg0);
  }
  
  public com.mmt.luolai.ws.SmsInfoResp sendSms(com.mmt.luolai.ws.SmsInfoReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.sendSms(arg0);
  }
  
  public com.mmt.luolai.ws.NewCardByOldResp changeOldcard(com.mmt.luolai.ws.NewCardByOldReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.changeOldcard(arg0);
  }
  
  public com.mmt.luolai.ws.PaymentResp payment(com.mmt.luolai.ws.PaymentReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.payment(arg0);
  }
  
  public com.mmt.luolai.ws.QueryScoreMonthReportResp queryScoreMonthReport(com.mmt.luolai.ws.QueryScoreMonthReportReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.queryScoreMonthReport(arg0);
  }
  
  public com.mmt.luolai.ws.BlocUpdUserPwdResp updUserPwd(com.mmt.luolai.ws.BlocUpdUserPwdReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.updUserPwd(arg0);
  }
  
  public com.mmt.luolai.ws.OnLineUserCardResp eventPush(com.mmt.luolai.ws.OnLineUserCardReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.eventPush(arg0);
  }
  
  public com.mmt.luolai.ws.BlocCardShopListResp queryShopDetail(com.mmt.luolai.ws.BlocCardShopListReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.queryShopDetail(arg0);
  }
  
  public com.mmt.luolai.ws.QueryReceiverResp queryReceiver(com.mmt.luolai.ws.QueryReceiverReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.queryReceiver(arg0);
  }
  
  public com.mmt.luolai.ws.EmptionResp emptionproduct(com.mmt.luolai.ws.EmptionReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.emptionproduct(arg0);
  }
  
  public com.mmt.luolai.ws.OnLineCardInfoResp queryCardAccInfo(com.mmt.luolai.ws.OnLineCardInfoReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.queryCardAccInfo(arg0);
  }
  
  public com.mmt.luolai.ws.UserInfoResp addUserCard(com.mmt.luolai.ws.UserInfoReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.addUserCard(arg0);
  }
  
  public com.mmt.luolai.ws.CouponUseResp payTicket(com.mmt.luolai.ws.CouponUseReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.payTicket(arg0);
  }
  
  public com.mmt.luolai.ws.PotentialUserInfoResp addPotentialUser(com.mmt.luolai.ws.PotentialUserInfoReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.addPotentialUser(arg0);
  }
  
  public com.mmt.luolai.ws.DeliversScoreInfoResp deliversScore(com.mmt.luolai.ws.DeliversScoreInfoReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.deliversScore(arg0);
  }
  
  public com.mmt.luolai.ws.ApplyControlCardResp controlCardApply(com.mmt.luolai.ws.ApplyControlCardReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.controlCardApply(arg0);
  }
  
  public com.mmt.luolai.ws.QueryScoreRateResp queryScoreRate(com.mmt.luolai.ws.QueryScoreRateReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.queryScoreRate(arg0);
  }
  
  public com.mmt.luolai.ws.UpdUserResp updUser(com.mmt.luolai.ws.UpdUserReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.updUser(arg0);
  }
  
  public com.mmt.luolai.ws.DirectRecordScoreInfoResp directRecordScore(com.mmt.luolai.ws.DirectRecordScoreInfoReq arg0) throws java.rmi.RemoteException{
    if (mymytiService == null)
      _initMymytiServiceProxy();
    return mymytiService.directRecordScore(arg0);
  }
  
  
}